package com.zlq.cn.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author zhoucl
 * @since 2020-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("z_vip_level")
public class VipLevel {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String bundleId;

    private String vipKey;

    /**
     * vip等级名称
     */
    private String vipName;

    /**
     * vip时长，单位月
     */
    private Integer vipMonthNum;

    private Integer vipDayNum;

    private Integer vipFreeDayNum;

    /**
     * vip价格（单位元）
     */
    private Integer vipPrice;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;
}
